package com.hfkh;

import java.util.Scanner;

/**
 * @Author MDD
 * @Descriptiongit push -u origin master -f
 * @Version
 * @Date
 **/
public class No_2 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        double sum=0;
        for(int i=1;i<=5;i++) {
            System.out.print("请输入学生周" + (i) + "的学习时间:");
            double hours = input.nextDouble();
            sum = sum + hours;
        }
        System.out.println("周一~周5学习平均为："+sum/5);
    }
}
